<?php 
$activity=$data;
// $activity = new ActivityBean();
?>

<div id='table_wrap'>
	<h2 align="center">“拔尖计划”师生活动情况表</h2>
	<div id="form_wrap">
	<form id="table_activity" name="activity_form">
		
		<div id="line1" class="line clearfix">
			<div id='department' style="float:left;margin-left:5px"><div class="field_name" >院&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;系：</div>
				<div class="field_value">
					<?php echo getInstitute($activity->department);?>
				</div>
			</div>
			<div id="subtype" style="float:left;margin-left:50px"><div class="field_name">类&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;型：</div>
				<div class="field_value">
					<?php echo $activity->getActivityType();?>
				</div>
			</div>
		</div>
		 
		<div id="line2" class="line clearfix">
			<div id="activityName" style="float:left;margin-left:5px"><div class="field_name">活动名称：</div>
				<div class="field_value">
					<?php echo $activity->name;?>
				</div>
			</div>
			
			<div id="host" style="float:left;margin-left:50px"><div class="field_name">主讲人：</div>
				<div class="field_value">
					<?php echo $activity->host;?>
				</div>
			</div>
		</div>
		
		<div id="line3" class="line clearfix">
			<div id="location" style="float:left;margin-left:5px"><div class="field_name">地&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;点：</div>
				<div class="field_value">
					<?php echo $activity->location;?>
				</div>
			</div>
		</div>
		
		<div id="line4" class="line clearfix">
			<div id="activityTime" style="float:left;margin-left:5px"><div class="field_name">时&nbsp;间&nbsp;段：</div>
				<div class="field_value">
					<?php echo $activity->activityBegin;?>
				</div>
			</div>
			
			<div style="float:left;margin-left:50px"><div class="field_name">至：</div>
				<div class="field_value">
					<?php echo $activity->activityEnd;?>
				</div>
			</div>
		</div>
		
		<div id="line5" class="line clearfix">
			<div id="activityContent" style="float:left;margin-left:5px"><div class="field_name">内容简介：</div>
				<div class="long_line_field">
					<?php echo $activity->content;?>
				</div>
			</div>
		</div>
		
		<div id="line6" class="line clearfix">
			<div id="activityBudget" style="float:left;margin-left:5px"><div class="field_name">经费预算：</div>
				<div class="long_line_field">
					<?php echo $activity->budget;?>
				</div>
			</div>
		</div>
		
		<div id="line7" class="line clearfix">
			<div id="time" style="float:left;margin-left:5px"><div class="field_name">填表日期：</div>
				<div class="field_value">
				<?php echo $activity->time;?>
				</div>
			</div>
		</div>
		
		<div class="clearfix operator">
			<?php if((isAdmin()||isSenate())&& $activity->approval==0):?>
			<div class="button ajaxbtn" name="activity_approveactivity_id_<?php echo $activity->id; ?>">批准</div>
			<?php endif;?>
			<?php if(isAdmin()||isInstitue()):?>
			<div class="button">删除</div>
			<?php endif;?>
			<?php if(isAdmin()||isInstitue()&& $activity->approval==0):?>
			<div class="button ajaxbtn" name="activity_editspecificactivity_id_<?php echo $activity->id;?>">修改</div>
			<?php endif;?>
			<div class="button"><a target="_blank" href=<?php echo urlToAction("activity", "print")."?id=".$activity->id;?>>打印此页</a></div>
		</div>
		
	</form>
	</div>
</div>
